package Excercise;

import java.util.Scanner;

public class Ex01_Q26 {

	
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num2=(int)(Math.random()*100)+1;
		int num1;
		
		do{
			num1= sc.nextInt();
			
			if(num1 > num2){
				System.out.println("추측한 숫자가 큽니다.");
			}else if(num1 < num2){ 
				System.out.println("추측한 숫자가 작습니다.");
			}else if(num1 == num2){  
				System.out.println("빙고! 숫자를 맞췄습니다.");
			}else
				System.out.println();
		}while(num1 != num2);
		
			++num1;
			++num2; 
			
	
		     
			
	  }
   }



